---
title: "on change · RUAL Documentation"
description: "Triggers given callback when the state key changes in the UI. This can be used to see button clicks or inputs being changed."
canonical: https://docs.rual.nl/block-types/state triggers/state_on_state_change
language: en
---

# on change

This block is part of the [`state triggers`](https://docs.rual.nl/block-types/state%20triggers) group and was last modified in core [`v13.0.6`](https://docs.rual.nl/core-versions/130006).

Triggers given callback when the state key changes in the UI. This can be used to see button clicks or inputs being changed.

- state key `state` required `value`

- callback `inpinfunction` required `inpinfunction`

- state `state`

### Core Releases
